from app.models.bo.base_bo import BaseBO
import collections


class HanFanReasonStatusBO(BaseBO):
    CG_LT_GL_GL04_FSSJ = None
    CG_LT_GL_GL04_Ftswd = None
    CG_LT_GL_GL04_qiutuanZB = None
    CG_LT_GL_GL04_shaojiekZB = None
    CG_LT_GL_GL04_FCoalRate = None
    CG_LT_GL_GL04_FCokeRate = None
    CG_LT_GL_GL04_FLiLunTie = None
    CG_LT_GL_GL04_CO2ZXFX = None
    CG_LT_GL_GL04_COZXFX = None
    CG_LT_GL_GL04_DWPJ = None
    CG_LT_GL_GL04_FYLL = None
    CG_LT_GL_GL04_LFLL = None
    CG_LT_GL_GL04_RFWD = None
    CG_LT_GL_GL04_MQLYL = None
    CG_LT_GL_GL04_QLYC = None
    CG_LT_GL_GL04_RFH = None
    CG_LT_GL_GL04_XBYCZB = None
    CG_LT_GL_GL04_SBYCZB = None
    CG_LT_GL_GL04_TQXZS = None
    CG_LT_GL_GL04_XBYCPJ = None
    CG_LT_GL_GL04_SBYCPJ = None
    CG_LT_GL_GL04_XFZDWPJ = None
    CG_LT_GL_GL04_FZWD = None
    CG_LT_GL_GL04_GLRSZLL = None
    CG_LT_GL_GL04_LDYL = None
    CG_LT_GL_GL04_GFDNKG = None
    CG_LT_GL_GL04_Zha_CaO = None
    CG_LT_GL_GL04_Zha_SiO2 = None
    CG_LT_GL_GL04_Zha_MgO = None
    CG_LT_GL_GL04_Zha_Al2O3 = None
    CG_LT_GL_GL04_Zha_Mg_Al = None
    CG_LT_GL_GL04_Zha_R = None
    CG_LT_GL_GL04_Zha_TiO2 = None
    CG_LT_GL_GL04_Zha_V2O5 = None

    member_mapping_dict = collections.OrderedDict({
        "CG_LT_GL_GL04_FSSJ": "实际风速",
        "CG_LT_GL_GL04_Ftswd": "铁水温度",
        "CG_LT_GL_GL04_qiutuanZB": "球团矿占比",
        "CG_LT_GL_GL04_shaojiekZB": "烧结矿占比",
        "CG_LT_GL_GL04_FCoalRate": "煤比",
        "CG_LT_GL_GL04_FCokeRate": "焦比",
        "CG_LT_GL_GL04_FLiLunTie": "理论铁",
        "CG_LT_GL_GL04_CO2ZXFX": "CO2在线分析",
        "CG_LT_GL_GL04_COZXFX": "煤气在线分析",
        "CG_LT_GL_GL04_DWPJ":"DWPJ",
        "CG_LT_GL_GL04_FYLL": "富氧流量",
        "CG_LT_GL_GL04_LFLL": "冷风流量",
        "CG_LT_GL_GL04_RFWD": "热风温度",
        "CG_LT_GL_GL04_MQLYL": "煤气利用率",
        "CG_LT_GL_GL04_QLYC": "全炉压差",
        "CG_LT_GL_GL04_RFH": "热负荷",
        "CG_LT_GL_GL04_XBYCZB": "下部压差占比",
        "CG_LT_GL_GL04_SBYCZB": "上部压差占比",
        "CG_LT_GL_GL04_TQXZS": "透气性指数",
        "CG_LT_GL_GL04_XBYCPJ": "下部压差平均",
        "CG_LT_GL_GL04_SBYCPJ": "上部压差平均",
        "CG_LT_GL_GL04_XFZDWPJ": "阀座顶温",
        "CG_LT_GL_GL04_FZWD": "阀座温度",
        "CG_LT_GL_GL04_GLRSZLL": "高炉软水总流量",
        "CG_LT_GL_GL04_LDYL": "炉顶压力",
        "CG_LT_GL_GL04_GFDNKG": "鼓风动能",
        "CG_LT_GL_GL04_Zha_CaO":"炉渣氧化钙",
        "CG_LT_GL_GL04_Zha_SiO2":"炉渣二氧化硅",
        "CG_LT_GL_GL04_Zha_MgO":"炉渣氧化镁",
        "CG_LT_GL_GL04_Zha_Al2O3":"炉渣三氧化二铝",
        "CG_LT_GL_GL04_Zha_Mg_Al":"炉渣镁铝比",
        "CG_LT_GL_GL04_Zha_R":"炉渣碱度",
        "CG_LT_GL_GL04_Zha_TiO2":"炉渣二氧化钛",
        "CG_LT_GL_GL04_Zha_V2O5":"炉渣五氧化二钒",
    })

    @classmethod
    def exposed_param_list(cls):
        exclude_list = ['expose_param_list',
                        'exposed_param_dict']

        return list(cls.member_mapping_dict.keys())

    @classmethod
    def exposed_param_dict(cls):
        exclude_list = ['expose_param_list']

        return cls.member_mapping_dict
